package com.multi.thread.chapter03.demo14;

public class Run {
	
	public static void main(String[] args) {
		DBTools dbTools = new DBTools();
		
		for (int i = 0; i < 20; i++) {
			ThreadB b = new ThreadB(dbTools);
			b.start();
			
			ThreadA a = new ThreadA(dbTools);
			a.start();
		}
	}

}
